package com.complex.spring.advance.service.messagesource;

/**
 * 自定义监听器的实现
 * @author gao
 *
 */
public class SimpleMethodExecutionEventListener implements MethodExecutionEventListener{

	@Override
	public void onMethodBegin(MethodExecutionEvent evt) {
		System.out.println("begin:"+evt.getMethodName());
	}

	@Override
	public void onMethodEnd(MethodExecutionEvent evt) {
		System.out.println("end:"+evt.getMethodName());		
	}

}
